import pytest
from commom import send_mail,log_set

if __name__ == '__main__':
    log_set()
    pytest.main(['./test_sousuo.py','-s','--html=baogao.html'])
    send_mail(['log.txt','baogao.html'])